export default {
	namespaced: true,
	state: {
		address: JSON.parse(uni.getStorageSync('address') || '[]') , 
	},
	mutations: {
		setAddress(state, data) {
			try{
				uni.setStorageSync('address', JSON.stringify(data))
				state.address = data
			}catch(e){
				console.log('用户数据错误')
			}
		},
	},
	actions: {
		
	}
}